package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataBigareacheckDao;
import io.renren.entity.DataBigareacheckEntity;
import io.renren.service.DataBigareacheckService;



@Service("dataBigareacheckService")
public class DataBigareacheckServiceImpl implements DataBigareacheckService {
	@Autowired
	private DataBigareacheckDao dataBigareacheckDao;
	
	@Override
	public DataBigareacheckEntity queryObject(String id){
		return dataBigareacheckDao.queryObject(id);
	}
	
	@Override
	public List<DataBigareacheckEntity> queryList(Map<String, Object> map){
		return dataBigareacheckDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataBigareacheckDao.queryTotal(map);
	}
	
	@Override
	public void save(DataBigareacheckEntity dataBigareacheck){
		dataBigareacheckDao.save(dataBigareacheck);
	}
	
	@Override
	public void update(DataBigareacheckEntity dataBigareacheck){
		dataBigareacheckDao.update(dataBigareacheck);
	}
	
	@Override
	public void delete(String id){
		dataBigareacheckDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataBigareacheckDao.deleteBatch(ids);
	}

	@Override
	public void deleteByMonth(String month) {
		// TODO Auto-generated method stub
		dataBigareacheckDao.deleteByMonth(month);
	}
	
}
